翻訳と辞書
Words near each other
・ Q & Q
・ Q (1970s band)
・ Q (album)
・ Q (band)
・ Q (cipher)
・ Q (dairy)
・ Q (disambiguation)
・ Q (emulator)
・ Q (equational programming language)
・ Q (film)
・ Q (game engine)
・ Q (James Bond)
・ Q (magazine)
・ Q (New York City Subway service)
・ Q (novel)
Q (number format)
・ Q (programming language from Kx Systems)
・ Q (radio show)
・ Q (Sanna's Post) HQ Battery RA
・ Q (software)
・ Q (song)
・ Q (Star Trek)
・ Q (TV network)
・ Q and Not U
・ Q and R Holes
・ Q and R-class destroyer
・ Q and Z signals
・ Q Awards
・ Q band
・ Q Camp


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Q (number format) : ウィキペディア英語版
Q (number format)

Q is a fixed point number format where the number of fractional bits (and optionally the number of integer bits) is specified. For example, a Q15 number has 15 fractional bits; a Q1.14 number has 1 integer bit and 14 fractional bits. Q format is often used in hardware that does not have a floating-point unit and in applications that require constant resolution.
==Characteristics==
Q format numbers are notionally fixed point numbers, that is, they are stored and operated upon as regular binary signed integers, thus allowing standard integer hardware/ALU to perform rational number calculations. The number of integer bits, fractional bits and the underlying word size are to be chosen by the programmer on an application-specific basis — the programmer's choices of the foregoing will depend on the range and resolution needed for the numbers.
Some DSP architectures offer native support for common formats, such as Q1.15. In this case, the processor can support arithmetic in one step, offering saturation (for addition and subtraction) and renormalization (for multiplication) in a single instruction. Most standard CPUs do not. If the architecture does not directly support the particular fixed point format chosen, the programmer will need to handle saturation and renormalization explicitly with bounds checking and bit shifting.
There are two conflicting notations for fixed point. Both notations are written as Q''m''.''n'', where:
*Q designates that the number is in the Q format notation — the Texas Instruments representation for signed fixed-point numbers (the "Q" being reminiscent of the standard symbol for the set of rational numbers).
*''m.'' (optional, assumed to be zero or one) is the number of bits set aside to designate the two's complement integer portion of the number, exclusive or inclusive of the sign bit (therefore if m is not specified it is taken as zero or one).
*''n'' is the number of bits used to designate the fractional portion of the number, i.e. the number of bits to the right of the binary point. (If n = 0, the Q numbers are integers — the degenerate case).
One convention includes the sign bit in the value of ''m'',〔(ARM® Developer Suite AXD and armsd Debuggers Guide

抄文引用元・出典: フリー百科事典『
ウィキペディア(Wikipedia)
ウィキペディアで「Q (number format)」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.